package org.example.logger_demo.controller;


import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 九转苍翎
 * Date: 2025/7/22
 * Time: 23:01
 */
@Slf4j
@RestController
@RequestMapping("/LoggerController2")
public class LoggerController2 {
    @RequestMapping("/log2")
    public String test(){
        log.trace("==========trace==========");
        log.debug("==========debug==========");
        log.info("==========info==========");
        log.error("==========error==========");
        return "test2";
    }
}
